﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Reflection;
using System.Windows.Forms;

namespace StuCat
{
    partial class LargePhotoBox : Form
    {
        public LargePhotoBox()
        {
            InitializeComponent();

            this.StartPosition = FormStartPosition.CenterScreen;
        }

        public void LoadImage(Image img)
        {
            
            this.Width = img.Width;
            this.Height = img.Height;
            logoPictureBox.Image = img;
        }
      
        private void logoPictureBox_Click(object sender, EventArgs e)
        {
            this.Close();
        }
    }
}
